<div style="float:left; width:380px">
<h1><?php echo $this->translate('Custom Roles')?></h1>
<?php if ($this->form->getErrorMessages()):?>
<div style="padding: 0pt 0.7em;" class="ui-state-error ui-corner-all">
<?php foreach ($this->form->getErrorMessages() as $message):?>
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
                    <strong>Alert:</strong> <?php echo $this->translate($message)?></p>
<?php endforeach;?>
</div>
<?php endif?>
<?php echo $this->form?>
</div>
<div style="float:left">
<ul>
<?php foreach ($this->data as $row):?>
<li><?php echo $row->id?>
<a class="fg-button ui-state-default fg-button-icon-left ui-corner-all" href="#">
<span class="ui-icon ui-icon-trash"></span>
<?php echo $this->translate('delete')?></a>
</li>
<?php endforeach;?>
</ul>
</div>
<div style="clear:both"></div>